Bill to repeal teachers' collective bargaining rights becomes law