Optimal evasive strategies for groups of interacting agents with motion constraints