Leashed dogs don't get caught in traps. A trap ban will just encourage more people to let their dogs run loose.
There are many other good reasons to keep your dog under your direct control other than just keeping them out of traps.