Maybe the thief initiated the firefight, dontcha think? Doubt that the police did, merely on the basis of apprehending a shoplifter if he/she does not exhibit life-threatening armed resistance. Maybe the danger to the community was real and present, requiring immediate response.
If there was a firefight or if they were going to use explosives, they already had to clear the area, right? If you clear the area, there is no longer a concern to the lives of others.
Look at post #72 to see confirmation of my approach BY AN ACTUAL COMPETENT POLICE FORCE.