Remove trailing nulls from chrom-tree keys.