Mali leader sacks two generals after ethnic massacre, jihadi attack