About 350 French soldiers are leaving Senegal, marking the end of a departure process that began in March.