Law prohibits ticketing as a disciplinary measure, addressing a harmful practice that had a disproportionate impact on students of color