The US agrees a pause in hostilities with China on trade, and makes a concession over tech firm Huawei.