A Neuro-inspired Theory of Joint Human-Swarm Interaction