1.0dev.61: fix cigar string generation near the end of contigs with indels