Prosecutors do not often charge officers for actions in the line of duty, but Alvin L. Bragg, Manhattan’s district attorney, has pressed for police accountability.