Russia has agreed to terms for a ceasefire in the war with Ukraine