The Chinese ministry of commerce said exports of technology used to mine and process rare earths or make the associated magnets was barred without permission