Mali has withdrawn from a global alliance of French-speaking countries, days after two of its neighbors took the same step.