China's trade surplus surged in June, which analysts have attributed to exporters rushing to ship products before U.S. tariffs recommence.