Use existing laws
There is an existing PTO rule that states roughly, use or lose it. To get a renewal of a patent, you need to demonstrate that the owner of the patent is reducing it to practice. This is given a wink and a nod by PTO. They need to require documentation of it either having been comercialized for each claim or to provide a record of reduction to practice.
A second factor is the looseness of some examiners on specifics in the claims. Patent lawyers write the patent application in generalized terms. Claims need to be more specific.
Patent suits need to be reviewed by a panel of persons knowledgeable in the arts being challenged. and they need to be able to set aside patents if appropriate. This alone would inhibit a lot of suits. I file a frivolous challenge and lose my patent.
Finally, in sue happy US, the winner always has the right to sue to recover loses for a case. There is plenty of case law to support it. A few big companies stick it out with a few trials, challenge on active reduction to practice, and then sue to recover triple damages. Quite the inhibitor.