Under the historic accord, Iran’s nuclear program would be curtailed in exchange for billions of dollars in relief from international sanctions. The agreement aims to avert the threat of a nuclear-armed Iran and another U.S. military intervention in the Middle East.