Deep processing of rare earth minerals