Tempo and mode of early gene loss in endosymbiotic bacteria from insects