Major UK rare earths refinery scrapped in favour of US