What if anyone who killed a person directly or indirectly died with exceptions of accidents?
So there are couple of rules within this. Where indirectly here means also weaponized negligence and indifference to the harm you have conducted.
Where accidents include only true accidents and self-defence on a localised scale, not on a war level.
The deciding factor is intent and effort.
So a doctor who tries to save a life but dies either way he doesn't die even if the surgery had high risk.
Other example would be a politician who starts a war on the basis of self-defence and a person dies in the war he also dies because it's not a localised threat to the person itself. Or a judge who signs off a death penalty.
Also this law is inbuilt in human biology and is entirely automatic.