Not reporting a shooting right away, dragging the bodies from where they were shot and shooting them as they lay wounded on the floor are all bad things to do.
All quite true.
And yet it was a case where
1) The intruders were definitely thieves, possibly worse;
2) The original shooting could have
3) The intruders were not "the wife or G/F ex, or better new boyfriend"; and
4) The homeowner was definitely not "just fine" when the police arrived.
Note, too, that MN has a very strong Castle Doctrine in the black-letter law (which is as far as most people ever look). Their case law is a little more nuanced than the black-letter law would indicate.
In any case, this isn't an area where we can say, "Well, all you have to do is [blah blah blah]."
In order to have a realistic hope of being "just fine" -- no matter who
the dead body in your living room belongs to! -- you actually need to know what the law is, in advance; you need to make a conscious attempt to stay on the right side of the law both before and during the event; you have to avoid doing stupid things after the event; and you have to present the facts in such a way that others understand and agree with what you did.