Correct. Ignorant people aren't easily reached. That's why you have to send clear signals. Frying Roof is a clear signal.
...And with regard to the "endless loop" -- the best way to end the "endless loop" is to make people trust that justice will be served.
Frying Roof doesn't contribute to an "endless loop" because no one (except the most rabid nazi) identifies with his offense. Who (except the most rabid nazi) would want to "avenge" Roof's death? There's no loop there.
However, given what we know about our justice system, sparing Roof
does contribute to the loop. Given Roof's heinous, terroristic offence, sparing him plays into the narrative that there is no justice, and black lives don't matter. Sparing Roof contributes to the "endless loop" more so than frying him, because most people are sure that if he had committed that offense at a white church, he would get the death penalty, especially if he were black. Sparing roof creates more grievance.
When it comes to particularly heinous crimes -- terroristic crimes for political purposes -- society has to show "who's boss". And given our uneven justice system, it's particularly important to send clear signals in this case -- both to those aggrieved and to the terrorist sympathizers.
...On the other hand, at least Roof didn't mouth off at cops, or wear a hoodie, or run from cops, or look as if he was about to assault a motorist, or anything really horrible like that. So maybe we should forgive him, because it helps us prove ourselves to people who genuinely believe we're oversensitive, irrational and reactionary. (~They're not "faking it" to slander us, they really believe we're all bad

... so we should prove ourselves to them, rather than the system proving itself to us!~)
Not to sound snide, but this "I forgive you" stuff is a good point to debate. I say forgiveness starts when the nonsense stops, ie. when we can trust the justice system to protect us -- including protect us from the
perception that the justice system will go easy on you if you kill black people.