How formidable was the Malian military at its height?