Group size effects and collective misalignment in LLM multi-agent systems