Honestly even if the Malian government agreed to Sharia law in Mali.
This is not going to stop terrorists and their takfir.
Even if you implement sharia to these takfiris its not enough because to them you are implementing the wrong one. This is why 90% of them make takfir on the Ottomans...