Swap the processing of unmapped reads with and without an unmapped mate.

This prevents failing index lookups due to /1 and /2 suffixes in the
unmapped read names.