Tehran’s quest for regional dominance crumbles as military misadventures and internal failures end grand dreams of reviving the Persian empire.