Resigning an Office is a JURIDICAL act, not a matter of faith and morals. This is why Canon Law addresses the conditions of validity or invalidity of a putative Papal resignation (332.2 and 188) – because JURIDICAL acts are NOT in any way covered under the dogma of Papal Infallibility. In fact, Canons 332.2 and 188 protect the Office of the Papacy itself from any juridical Substantial Error committed by the Pope, invalidating by the Law itself any substantially erroneous, coerced, or bribed resignation, and thus retaining the Office to him until he either proffers a juridically valid resignation, or dies.
Vatican I was crystal clear in its definition of Papal Infallibility as pertaining ONLY to ex cathedra teaching on matters of faith and morals – NOT juridical acts. The Pope is free to louse-up a resignation, and we know this for an ontological certainty because loused-up papal resignations are addressed in Canon Law, AND Vatican I clearly defined the domain of Papal Infallibility as matters of faith and morals, NOT juridical acts.
On the infallible teaching authority of the Roman Pontiff
1. That apostolic primacy which the Roman Pontiff possesses as successor of Peter, the prince of the apostles, includes also the supreme power of teaching. This Holy See has always maintained this, the constant custom of the Church demonstrates it, and the ecumenical councils, particularly those in which East and West met in the union of faith and charity, have declared it.
2. So the fathers of the fourth Council of Constantinople, following the footsteps of their predecessors, published this solemn profession of faith: The first condition of salvation is to maintain the rule of the true faith. And since that saying of our lord Jesus Christ, You are Peter, and upon this rock I will build my Church , cannot fail of its effect, the words spoken are confirmed by their consequences. For in the Apostolic See the Catholic religion has always been preserved unblemished, and sacred doctrine been held in honor. Since it is our earnest desire to be in no way separated from this faith and doctrine, we hope that we may deserve to remain in that one communion which the Apostolic See preaches, for in it is the whole and true strength of the Christian religion .
What is more, with the approval of the second Council of Lyons, the Greeks made the following profession:
“The Holy Roman Church possesses the supreme and full primacy and principality over the whole Catholic Church. She truly and humbly acknowledges that she received this from the Lord himself in blessed Peter, the prince and chief of the apostles, whose successor the Roman Pontiff is, together with the fullness of power. And since before all others she has the duty of defending the truth of the faith, so if any questions arise concerning the faith, it is by her judgment that they must be settled.” 
Then there is the definition of the Council of Florence:
“The Roman Pontiff is the true vicar of Christ, the head of the whole Church and the father and teacher of all Christians; and to him was committed in blessed Peter, by our lord Jesus Christ, the full power of tending, ruling and governing the whole Church.” 
3. To satisfy this pastoral office, our predecessors strove unwearyingly that the saving teaching of Christ should be spread among all the peoples of the world; and with equal care they made sure that it should be kept pure and uncontaminated wherever it was received.
4. It was for this reason that the bishops of the whole world, sometimes individually, sometimes gathered in synods, according to the long established custom of the Churches and the pattern of ancient usage referred to this Apostolic See those dangers especially which arose in matters concerning the faith. This was to ensure that any damage suffered by the faith should be repaired in that place above all where the faith can know no failing .
5. The Roman pontiffs, too, as the circumstances of the time or the state of affairs suggested, sometimes by summoning ecumenical councils or consulting the opinion of the Churches scattered throughout the world, sometimes by special synods, sometimes by taking advantage of other useful means afforded by divine providence, defined as doctrines to be held those things which, by God’s help, they knew to be in keeping with Sacred Scripture and the apostolic traditions.
6. For the Holy Spirit was promised to the successors of Peter not so that they might, by his revelation, make known some new doctrine, but that, by his assistance, they might religiously guard and faithfully expound the revelation or deposit of faith transmitted by the apostles.
Indeed, their apostolic teaching was embraced by all the venerable fathers and reverenced and followed by all the holy orthodox doctors, for they knew very well that this See of St. Peter always remains unblemished by any error, in accordance with the divine promise of our Lord and Savior to the prince of his disciples: I have prayed for you that your faith may not fail; and when you have turned again, strengthen your brethren .
7. This gift of truth and never-failing faith was therefore divinely conferred on Peter and his successors in this See so that they might discharge their exalted office for the salvation of all, and so that the whole flock of Christ might be kept away by them from the poisonous food of error and be nourished with the sustenance of heavenly doctrine. Thus the tendency to schism is removed and the whole Church is preserved in unity, and, resting on its foundation, can stand firm against the gates of hell.
8. But since in this very age when the salutary effectiveness of the apostolic office is most especially needed, not a few are to be found who disparage its authority, we judge it absolutely necessary to affirm solemnly the prerogative which the only-begotten Son of God was pleased to attach to the supreme pastoral office.
9. Therefore, faithfully adhering to the tradition received from the beginning of the Christian faith, to the glory of God our savior, for the exaltation of the Catholic religion and for the salvation of the Christian people, with the approval of the Sacred Council, we teach and define as a divinely revealed dogma that when the Roman Pontiff speaks EX CATHEDRA, that is, when, in the exercise of his office as shepherd and teacher of all Christians, in virtue of his supreme apostolic authority, he defines a doctrine concerning faith or morals to be held by the whole Church, he possesses, by the divine assistance promised to him in blessed Peter, that infallibility which the divine Redeemer willed his Church to enjoy in defining doctrine concerning faith or morals. Therefore, such definitions of the Roman Pontiff are of themselves, and not by the consent of the Church, irreformable.
So then, should anyone, which God forbid, have the temerity to reject this definition of ours: let him be anathema.
Given at Rome in public session, solemnly held in the Vatican Basilica in the year of our Lord one thousand eight hundred and seventy, on the eighteenth day of July, in the twenty-fifth year of Our Pontificate.
Pray for Pope Benedict XVI the one and only living Pope, whether he likes it or not, and for all who have been and are being scandalized and led into error, schism, and apostasy by the Bergoglian Antipapacy.