If the deceased is in fact guilty, it's "commendable homicide".
Excellent term! Why didn't I think of that?