JaroWinkler performance tweak

If string1 = string2, return 1 (bypassing the rest of the JaroWinkler
calculation).