Refactor repeated_keys()
to use ComparableExpr
#5696
Merged
repeated_keys()
to use ComparableExpr
#5696