Deteriorating security threatens to return Mali to the chaos that nearly tore it to pieces in 2012 when Islamists hijacked an ethnic Tuareg rebellion in the north, before French forces pushed them back the following year.