Tehran’s leaders crafted a plan ahead of the current conflict that would escalate the fight across the region