Separation of rare-earth ions by non-aqueous solvent extraction