Kyiv has agreed to a minerals deal pushed by Donald Trump and the new administration.