Decades of cheaper imports left US dependent on China for crucial rare earth processing.