Treasuries advanced as investors dialed back expectations for Federal Reserve interest-rate hikes following news of a deal to halt the Iran war.