American forces are in Iraq at the invitation of the Iraqi government, and they have every right and authority to defend themselves. This legal act of self-defense was not only proportionate — it was targeted and brilliantly executed, causing essentially no collateral damage.
So the killing was justified and legally sound.