Deciphering the Evolutionary History of Open and Closed Mitosis