China restricts exports of high-tech metals in a slap at Washington ahead of Yellen's