Bolivia's police ended a violent mutiny and went back to work on Wednesday after reaching an accord with government ministers and the police leadership on pay and disciplinary rules, satisfying lower-ranking officers who had rejected a previous deal.