Lawmakers debate bill allowing teachers to restrain students