Remove unnecessary Ord constraints from (maximum/minimum)By*