Who said anything about accidental? Justified killing can be preceded by deliberate thought, but without the element of malice.
There is a mind set that says.... if you’re gonna shoot someone, be sure you kill them so they can’t sue you. I would say... more than that... make darn sure there’s not a video of you pumping additional rounds into them when they are clearly no longer a threat. If you want to argue self defense in court.