The last of the 26 foreign Greenpeace activists who were detained after an Arctic protest flew out of Russia on Sunday, the group announced, finally ending a saga that had caused global concern.