Egypt and Sudan are unwittingly playing into the hands of the Horn of Africa’s most dangerous terrorist group: al-Shabaab.