Make 2 paths to your base, make sure they are both open and one is longer than the other, making a choke makes this 10x better, now as all of the enemies are going for the easier one, block it off before they make it, and they will have to re-route to the other one, keep doing this until they are dead.