Bio-Inspired Collision Avoidance in Swarm Systems via Deep Reinforcement Learning