U.S. and Iranian leaders were at odds over the terms of a ceasefire agreement ahead of peace talks in Pakistan.