As ISIS Falls, Don’t Forget the Lessons of the Recent Past