The United States and Iran have decided to continue negotiations, even as their starkly different visions of a nuclear deal and a significant U.S. military buildup highlight the fragility of the process and the ongoing risk of confrontation.