Oliver Carroll, our foreign correspondent, analyses the prospects—and pitfalls—of ending the war in Ukraine