The U.S. and Iran may sign an agreement to reopen the Strait of Hormuz on the sidelines of the Group of Seven world leaders summit next week, according to senior officials.