A group of 130 Nigerian schoolchildren abducted last month were freed, ending a mass abduction that drew global concern.