The United States and Iran are negotiating a broader agreement to end the war, with Tehran’s nuclear program remaining one of the key sticking points.