Just be straight with them. Tell them you have moved on and no longer need their friendship. Sometimes you have to change your friends like you change your clothes, dump them completely and walk away.
Now, that can be easier said than done because often you continue to frequent the same haunts. If you want to make the break you should abandon these as well, move completely or change your phone number. It has to be a solid split with no way back for either party.
Soldiers returning to the same battlefield are signalling their intention to continue the conflict and are guaranteed to get that response. If you return to your old haunts then this is what you signal. They cannot continue without you there, in time someone else will fill the gap and memory will dim.
Then. You need to begin examining these hurtful things so you can learn from them. Maybe you can eventually thank them for the direction you were pointed toward and the discoveries to come. Often there are similarities in what you are doing to yourself and the role they play.