High-purity rare earth fluoride