Agree with all this except we don't yet know the actual settlement terms, so we don't know how "favorable" they are to Iran. They probably ARE favorable to Iran, but we don't know yet.
It is true that Iran used its power over the strait to assume leverage over the US and eventually compel a favorable settlement.
But this obscures what may be the more significant achievement: that after 40 days of bombing, Iran never lost the ability to both keep the strait closed and threaten regional infrastructure. Its missile cities still stand, its launchers survived, its drone/missile arsenal were depleted but, thanks to careful management, remain potent.
In the end, Iranian missiles and drones proved more effective at accomplishing their mission than US TLAMs, F-35s, and strategic bombers.