Officials say the measure’s removal of a legal doctrine called qualified immunity, often used to shield officers from personal liability for actions on the job, would not only escalate costs but also weaken agencies, hampering their ability to attract new recruits.