Shares, dollar rebound on thaw in U.S.-China trade war  