New law aims to bar repeat of Hoopeston fire