Burn them with a flame thrower if you have the materials if not use a pike and aim for the middle

More Insect Swarm Encountering Tips