handle BAM reads that have an MD but no CIGAR, fixes #330