hapLrt: reduce number of type comparisons.
hapLrt: reduce number of type comparisons.

Using else ifs instead of a succession of independant ifs
avoids doing more comparison than necessary for variable 'type',
which can only take one of those values.

vcflib/vcflib,ekg/vcflib,vcflib/vcflib,vcflib/vcflib,vcflib/vcflib,vcflib/vcflib,vcflib/vcflib,ekg/vcflib,ekg/vcflib,ekg/vcflib,vcflib/vcflib,ekg/vcflib,vcflib/vcflib