Ali Khamenei must choose between escalation, a diplomatic compromise with the US, or containing the conflict to Israel