Remove segment list pre-processing

Only the brute-force algorithm needs empty and
duplicates removed. The Myers' algorithm does this
naturally. Only have brute-force go through the
segment cleaning.

Bug: b/297220808
Change-Id: I76463e713809e52c2ac9ff96091448d9b390740e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/798956
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
3 files changed