From war to diplomacy, Iran weighs response to Soleimani’s killing