Insurgents are expanding from West Africa’s Sahel region toward Atlantic coastal nations such as Ivory Coast, creating new terrorism hot spots and displacing millions.