You're right that productive people are productive
despite being jerks,
not because they're jerks. And sure, cast as much judgement on jerks as you feel is proper.
But most people are pretty set in their ways. Everyone who yells at cashiers when they're 40 has done so before, they've probably faced some consequences for their actions and the behavior persists so either you need to be more persuasive than the totality of their lived experience or you can adjust your sails.
If we can accept people who miss work for sick kids, we can accept jerks. But we don't have to accept either. Everything is subservient to money. You can simply pay for excellent people, but some corporations need to compete elsewhere.
I wouldn't pay a jerk as much as a team player (all other things equal), but for the right price I'd put up with the headaches. That's the right call for me, it's not the right call for others. What's important is that corporations and managers get creative about making things work for people.