Police chiefs are cracking down on misconduct — including brutality and overt racism — and losing their own jobs, too