China accused the United States of “ganging up” and forcing it to accept a 2016 arbitration ruling over claims in the South China Sea, as Washington urged Beijing to halt what it called its routine harassment of vessels of other countries in the region.