xegaRepairPop function

Repairs the list structure of a population of genes.