Cities, personnel departments, police executives need to figure out where their management obligations begin and end. Most police officers are in a huge gray area when on and off the job, and the job takes a huge toll on their persons, families, and the taxpayers who pay the bills. 
Failure to clearly communicate the parameters of the law enforcement role, the job, leads to the expensive messes like we're seeing here.