Way too many social media CEOs claim that if they just force their users to dox themselves, that it will somehow prevent all the toxic engagement. You need look no further than Facebook to see where it goes. Not only does the toxicity not go away, but Facebook makes tons of money off political ads and "boosted" posts; they even have had an office of sorts in China, where Facebook is banned, for the purpose of making it easier for Chinese to sell ads/engagement on Facebook. And it's not just China doing this.
I'd reckon Twitter's long-term goal isn't to make the trolls go away, but to pay for the privilege of visibility.