WASHINGTON - The United States and China formally reached a truce in their two-year trade war, as they signed on Wednesday a deal that will lead to a rollback of some U.S. tariffs and require China to boost purchases of farm and other products.