The transfer came after officials in Russia said they were nearing a final agreement with Ukraine on a significant prisoner-of-war exchange.