Ukraine struck a deal with Russia to evacuate more than 260 of its soldiers from the Azovstal steel plant after nearly three months under siege.