Iran may be losing the battles, but it might still win the war