Add root multiplicity support in pretty_lti