The agreement has consequences for surrounding North African nations
Islamic extremists have driven 570,000 from their homes