The US president said a deal between Russia and Ukraine might have to involve all of Europe