One thing that strikes me here is you seem to be talking more about "angry people" (i.e. people who are somehow persistently tending towards "angry"), as opposed to "anger, a transient state that an otherwise healthy person is in."
One purpose of anger AFAICT is to build game theory into the psychology of social organisms, without them having to have a fully idealized game theoretically sound approach.
It's useful to have punishment and threats as a tool in our coordination toolkit. Punishing someone generally requires you to burn resources of some kind. Sometimes it's locally worth it to punish someone, because even though you will burn resources, you'll almost immediately start reaping rewards from the next steps in an iterated PD or Stag hunt. Other times, the payoff is extremely diffuse, and it's honestly just worse for you to spend resources of tit-for-tatting. BUT, it's still overall better for defectors to know that they risk the possibility of someone "disproportionately, 'irrationally' punishing them", so they don't bother defecting in the first place
At least one of anger's roles, I think, is to facilitate that.
I think a downside of anger is that our native implementation of it isn't designed to handle complex coordination problems of the modern world. So I think there are reasons to be dissatisfied with that native implementation, and to want to change it in some way. But I wouldn't try to remove anger from your arsenal, or encourage others to do so, unless you/they have actually fully "replaced" the job that anger was doing. (and honestly I'm not sure I know anyone who is at this level, I think anger is doing lots of subtle things, and trying to replace native emotional software is pretty likely to go wrong in various ways).
The problem of "the guy who yells at you for digging the hole and then yells at you for filling it back" isn't that he's angry, it's that he has miscalibrated anger and some maladaptive patterns with it.
I'd say 'anger', as many other such psychological constructs, is ambiguous and can refer either to a trait / feature (an anger-prone person, a person who tends to become angry easily) or to a state (a person who is momentarily angry). The same distinction can be made vis-à-vis other emotions (sadness, happiness, disgust, anxiety...) and perhaps personality traits. I'd propose the terms 'momentarily angry' and 'anger-prone' (and similarly for the other emotions: momentarily sad and sadness-prone, etc) if there's a need to disambiguate, but not being a native English speaker I'm not really sure of them being fit.
I don't get angry. I haven't gotten angry in ten years. A Buddhist would say I have "pulled up anger by the roots".
Anger is predicated on the desire to hurt someone. The desire to hurt someone as a terminal value is pure evil.
I have been on the receiving end of a lot of anger. Ostensibly, it is because of things I did or I didn't do. None of that matters. How often a particular person gets angry at me has little to do with me and everything to do with that person.
Though I no longer get angry, I do feel stress. My baseline stress is a function of physical exercise, social interaction, food, meditation and art. But that's not goes through my head. When I feel stress, I go looking for something I'm doing wrong like an appointment I've forgotten about, a chore I've been putting off or some other personal inadequacy. I misattribute the stress to a confabulation and then go about solving the wrong problem.
I think angry people do the same thing. They feel anger before identifying a target. This would explain why observation that whether someone gets angry at me in a particular interaction correlates with how frequently that person has gotten angry at me in the past and cannot be predicted by my proximate influence.
With particularly angry people, I can predict when they will get angry before they do but I cannot predict what they will get angry at. Except that, if I am alone with the person, the target will eventually become me no matter what I do.
When I was a kid I had an adult berate me for not shoveling dirt into a hole and then, an hour later, berate me for shoveling dirt into the hole. Neither beratement had anything to do with the task. He just wanted to make me suffer. But he didn't understand his own motivation. He confabulated that I was a lazy kid who should have known better than than to do (or not do) whatever I was doing (or not doing).
The most undeserving victims of anger are the victims of genocides and such. But in my personal experience, the people for whom anger causes the most suffering are angry people themselves. Anger is incompatible with happiness. If you are frequently angry then you are frequently unhappy.
Pulling up anger by the roots makes you a gentler, happier person. The catch is that anger is a natural defense against other angry people. To safely remove a natural defense you must replace it with an artificial one.
If you are not an angry person then the best way to deal with angry people is to avoid them. If you cannot avoid angry people then distance yourself from them. If you bump into angry people then diffuse the situation. If you cannot diffuse the situation then fight as a last resort.