Islamist militant attacks are wreaking havoc in West Africa. An insurgency that began in northern Mali in 2012 has spread to neighboring Burkina Faso and is threatening coastal states including Benin, Ghana and Ivory Coast. Hundreds have died in recent months. Increased defense spending weighs heavily on the budgets of some of the world’s poorest countries.