EU to loan Ukraine up to $39 bln, funded by Russian assets