A rivalry between al-Qaeda and ISIL is behind the rise of terrorism in West Africa