That's so weirdly American: a top-voted post about flu shots. On EU forums literally nobody brings this up somehow.
I don't think that's the right comparison. Herd immunity refers to stopping a disease by spreading by making enough of the population immune so it can't spread. It doesn't have anything to do with evolutionary pressures or superbugs, like what you're alluding to with your second sentence.
Widespread vaccination is important exactly because it produces herd immunity.