Pro-Russia rebels in Ukraine agreed to open a humanitarian corridor for surrounded Ukrainian troops to retreat from the battlefield, Putin's office said.