Lawmakers scrapped a policing provision amid concerns it could enable immigration enforcement on school campuses.