The president has strong-armed Ukraine into a deal to hand over future revenues from its mineral resources.