Egypt has been battling an insurgency in the Sinai led by an affiliate of the Islamic State group that intensified after the military’s 2013 ouster