To fix this problem, software patents need to be abolished as a practice damaging for society and innovation. While they exists, they'll be abused by trolls.
I certainly don't disagree - I was just addressing the specific problem of companies convincing themselves/employees that their patents are only for 'defensive purposes', and then suffering a change of priorities. If the company legally commits to defensive-only use, then there can be no change of heart later; as such, employees that take issue with supporting a given patent as a bona fide invention should push for such a committal rather than relying on non-binding promises.
That's true. In some cases this happens, for example members of OIN have legal obligations not to use patents against each other at least. But I'm not sure there is any company that took a solid legal obligation not to be a patent aggressor in general.