A US rare earths miner is staging a comeback to take on China