India’s trade with the emerging-economy bloc has expanded sharply, led by rising imports of machinery, energy, industrial inputs and commodities.