Strip trailing bases before initial matching bases in VCF parser