As Cease-Fire Teetered, Iran Plotted a Wider War With Aid of Its Proxies