Stocks of rare-earth companies take a hit as U.S.-China trade tensions ease.