What is a "Just" death?

To quote the good Scratch doctor: “… one may be subject to corruption, and slain by a hero. This would be just.”