China’s buying of oil from overseas slumped to the lowest in more than eight years last month as the Iran war crimped supply and Beijing held off scrambling for replacement barrels.