If it were me, and the true intent was to distribute the Tesla patents as widely as possible, I would have said "Tesla pledges to license its entire patent portfolio, on a worldwide non-exclusive no-royalty basis, to any interested party. We will ask for consideration in the amount of $1 for a 99 year license. Your lawyers and accountants can reassure you that these sort of symbolic commitments hold up in court. They'll also no doubt ask to see the full terms, which are about as boring as you'd expect, and which are available from our Legal Department."
(i'm not asserting it is perfect, just that it is an effort towards what you describe)
What could be an interesting solution is to prevent people who want the protection of the mutual license from licensing patents from anyone else under any other terms. So if you want the protection of the license and a patent troll approaches you, your only choice is to either vanquish the troll or buy the patent outright and immunize everyone.
That should mean no more Rockstars at least, and should make life more difficult for trolls because they couldn't license patents anymore, only sell them outright.
It doesn't do anything about non-practicing entities because it can't. There's no formulation of words that could cause a license to have any bearing on NPEs.
Your potential wording would make the patent license completely unusable. Perhaps an alternative might be something along the lines of: You may not license a patent that has been involved in legal dispute. If a licensed patent is subsequently involved in legal dispute, either this license or that license must be terminated within NN months.
I think AnthonyMouse's comment was referring to NPEs that were sponsored by a practicing entity that is subject to a reciprocal license. An effective such license would have to restrict participants from indirectly funding attacks that would be violations of their agreement if they carried out the attacks themselves.