MAINT: stats: A small improvement to the wilcoxon code

This is small improvement to the code in the function `wilcoxon`.  `find_repeats` is actually faster than `np.unique`, so just call `find_repeats` and check the result to determine if a correction for ties is needed.