Growing apart from an old friend doesn't really count here. This is the most common way I've ended friendships & the most common way others do it. You both understand why, because the changes that led to it are very evident, and it's a very gradual, natural thing.
Being offended or hurt or annoyed by a casual acquaintance (or simply disliking them) & then deciding to avoid them doesn't really count here. This is more along the lines of choosing who to be friends with to begin with vs cutting someone off.
Let's actually consider the metaphor of "door slamming" - it's shutting someone out mid-conflict instead of seeking a resolution. It's usually someone you're close to, because it's like the way a person would literally door slam a family member in an argument. It also tends to be childish, because there's a refusal to communicate or to do anything on your part to make amends. Most of the time it seems like a demand for others to grovel to you....but you won't "open up" until they say just the right thing (read your mind & guess your demands, then give into them).
Can any type do this? Of course, but when you read Ni + Fe descriptions, then you really see why that mentality is prone to it. The way of handing conflict is often to reject any reality that doesn't align with what you want it to be (this is how INFJs predict things - they almost subconsciously manipulate things - or the interpretation of them - to an "inevitable" end). Restoring peace is just to out a perceived violator of it. There's a tendency to not look inward in terms of evaluating their own role in things (no Fi, Ti is impersonal). They do the creepy Ni perspective shift, so they can come out smelling like roses in their own mind. They create a back story of being a victim, and they just don't understand why everyone is sooo mean to them! Etc...
What also makes INFJ door slamming distinct is the level of hypocrisy. They can say & do the nastiest things to people, but if 1/10 the level of that is returned to them, they get all butthurt & cut people off. I've witnessed it so many times, from a distance as an observer & up close among family. Everyone else has to be perfect but these INFJs, because in their distorted views they are pretty much perfect. Their standards for others are completely unreasonable, but you must forgive them a multitude of violations. That's how these individuals come off anyway, and when you have an attitude like that, you're going to be cutting people off right & left because you can't handle self-evaluation, personal responsibility, etc. These people also constantly appear to be running away in life (mentally, rather than physically as others do) rather than dealing with problems. They don't just cut out people, but situations, experiences, etc. This is obviously not "healthy", and it's not characteristic of all INFJs so much as INFJs who door slam a lot (the way they tend to go about it & be in general).
I've seen this done to my mom by her INFJ sister countless times, and I see the solution is never ever to grovel or meet their demands. They must be isolated, or effectively door slammed by mutual friends/family. They'll find themselves alone after a short time, and then they come back all meek, albeit rarely with an apology. You can't always call their bluff (because it seems to me that's often what it is, or a risk they're willing to take to get their way), but if you can, then you'll probably win.