rare earth ore mining process