If it’s justified for an imperiled person to use potentially-lethal force against an attacker at a particular moment in time in defense of self, it is justifiable for anyone to use that same level of force against that same attacker at that same moment in time in defense of that imperiled person.
If the killer’s actions were justifiable homicide, the “bank [doing] the same thing” would also be justifiable homicide.
If it’s justified for an imperiled person to use potentially-lethal force against an attacker at a particular moment in time in defense of self, it is justifiable for anyone to use that same level of force against that same attacker at that same moment in time in defense of that imperiled person.
If the killer’s actions were justifiable homicide, the “bank [doing] the same thing” would also be justifiable homicide.