Heterogeneous gene duplications can be adaptive because they permanently associate overdominant alleles