legal doctrine that shields police officers from being held liable when they kill someone on the job