Economist surveyed by Reuters had expected the world’s third-largest economy to post 3.1% growth in the April-June quarter.