Killing for deterrence removes this link. The killing does not directly remove the threat, but merely intends to influence others who pose their own direct threats.
Soleimani is (supposedly) the mastermind of multiple imminent attacks, as well as the recent assault on the embassy. If this is true, though, these imminent attacks and death
have been reduced (but probably not completely eliminated), which meets the requirement.
In other words, this was (according to the claims made), this
was an incapacitation, not a retaliation.
(that said, I’m skeptical in general about the arguments that any one individual is that critical. Then again, a) such “removals”
would delay some attacks in the works, b) history is replete with examples of generals who
did make the difference, and c) the existence of such apparently invulnerable figures is a huge factor for morale, which gets gutted when they
do die)