Bill would exempt students from spanking