Accumulation of endosymbiont genomes in an insect autosome followed by endosymbiont replacement