allelepaircomp function

Internal: compares two pairs of alleles