It's certainly not a bad idea at all, and if you can do it, go for it! Once it becomes January, you would tone down the 401k contributions to max it out over a whole year, sending the rest to an IRA classifying it as 2015 contributions to max out 2015 tax savings. (You can do that in 2016 anytime before tax day) Once you finish that, you would save in the IRA for 2015, max it again, and then pay off your debt. You would then have a ton of savings, be well on your way to paying off the loans, and it would be hard to see this backfiring. If you have extra money in 2016, you can can either pay off debt or save money in taxable investment accounts.
If you run into financial liquidity issues, you can increase your paycheck at any time by decreasing your 401k contributions! Just keep track of how much you have in your bank so you can wait until your next paycheck or two (and make sure you know how long your company takes to adjust 401k withholding, it could take longer than one paycheck in certain companies)