The refinancing deal is expected to save taxpayers $15 million over nearly 30 years after paying out the investment firm.