Precipitation stripping of lanthanum and neodymium