Africa has lessons to learn—and teach—about reintegrating militants