I'm not asking for police to be protected if they're malicious, but if a police officer completes all his training correctly and tries his hardest to make the right decision in that pivotal moment, but makes a mistake and shoots when he shouldn't, then he's sentenced to life in prison if he is held to the same standard as a civilian.
And people wonder why their police officers aren't the best and the brightest: anyone making a rational decision under these terms wouldn't take the job.