If you thought all was lost, it's not, you have several solutions to cover your student loan in a timely manner, to the point of having a deduction that would clean up your taxes.
Making principal-only payments isn't the only way to lower your interest costs and/or pay off your loan early. You might also be able to do this by refinancing your student loans with a private lender ...