It's rarely a bad idea to retire debt regardless of the change in inflation
Eliminating a debt also eliminates a payment which gives a person more purchasing power to help offset an increase in inflation. I'd rather be debt free with more cash flow than in debt with less cash to to spend.