Rare earths extracted from coal byproducts