Defense against social parasitism in acorn ants