The killing of Khamenei closes the chapter on one of the most consequential and destructive figures in modern Middle Eastern history.