[distances] Add difflib match distance, closes #234655 [applied]