There is no such thing as reducing an offense against God to a sin alone. One mortal sin is the worst thing that could ever enter creation.
What you say about heresy is also said for adultery, abortion, willful murder, sodomy, and so on.
Heresy is a sin, it's the worst sin of all the sins. But that's what it is, a sin.
One is not excommunicated for adultery, or murder, or other sins.
Heresy is a DIFFERENT TYPE OF SIN, which EXTRA PUNISHMENTS, per canon law.
Then they can never obtain absolution without first taking all the classes meant for catechumens.

You only get baptized once; you only go through catechism classes once.
As i've explained to you, and per canon law, a big-time heretic like Martin Luther was summoned to Rome and there was an inquiry into his actions. Then there was a court proceeding. Then he was given a chance to recant. He didn't. Then he was formally excommunicated.
The only way for Luther to get back in "good standing" as a member of the Church was to (simplifying it): a) abjure his heresy in an ecclesiastical court, b) profess his faith in the same court, c) do some type of penance.
This serves as the "test" to see if the heretic is sincere. Then he is considered to be "back in the fold" and a member.
THEN he could go to confession, because he's a member.
If Luther could've gone to confession 100x before, but it would've been invalid. Canon Law "binds" an extra penalty upon heresy/schism that OTHER SINS do not.
If they cannot simply go to confession, then why, in the traditional formula of absolution in the Sacrament of Penance as posted below, is there is a general absolution from the censures of the Church?
"...May our Lord Jesus Christ absolve you: and I, by His authority, absolve you from every bond of excommunication, suspension, and interdict, in so far as I am able and you are needful. Next, I absolve you from your sins, in the Name of the Father, and of the Son, and of the Holy Ghost. Amen
Do you not understand this phrase?
As we've been discussing, big-time heretics, i.e. Martin Luther, could NOT get absolution from some random priest in confession. The random priest, PER CANON LAW, IS NOT ABLE to absolve a big-time heretic from MAJOR EXCOMMUNICATIONS and MAJOR CENSURES.