refactor bam12split
fix aux merging for input with secondary alignments