The problem is that they rely on infringement claims being made in "bad faith." Patent trolls never make claims that would trigger these bad faith conditions.
Or, if they had made qualifying "bad faith" claims in the past, it is trivial to update their demand letters to avoid triggering the bad faith clauses in these bills or laws.
The article mentions cloudflare a bunch, but they are based out of California. I don't even know of them being sued by a patent troll in Massachusetts.
Edit: honestly, the idea of having the software patents disgrace/mess untangled seems hopeless by now. I can't even begin to imagine what kind of seismic event it would take to pull that off. :/
There's so much more money involved now (in all kinds of places - now we have massive passive collections both in old- and new-style companies) than last time there was a huge fight surrounding software patents.
Sure, each US state and each EU country can work towards making things harder for patent trolls, but how much will that help in most cases where products are global and the patent troll can pick their venue at their leisure.
I've always disliked that companies can incorporate out of state to "shop" for favorable laws. Good to know there's at least one downside.