The Islamic Republic is weaker, Hezbollah is exposed and Israel is testing whether military gains can be turned into diplomatic opportunity