Fitness effects of group merging in a social insect