Rewrite max mismatch

Okay, I think max_mismatch.py will _actually_ work in most cases, now. Previously it would fail on dual-index samples, or pretty much any hiseq flowcell.

In my preliminary testing this new approach works correctly, but I'll be sure to keep an eye on it going forward.