The US is claiming victory in a trade dispute with China, after Beijing announced it would scrap so-called "famous brand" subsidies.