The US and Ukraine are closing in on a mineral deal. What changed, and what comes next?