backport (dpvc): Updated NumberWithUnits to use Parser::LEgacy::NumberWithUnits rather than having a separate implementation here. This will guarantee that it is consistent with num_cmp() and prevents unneeded duplication of code.
Changed paths: