The release is part of a swap with the Kremlin that freed an American schoolteacher being held in a Russian prison.