The department may refinance a loan under this chapter by making a loan to pay outstanding mining debts. When an original loan is to be refinanced, the department may not refinance more than 49 percent of the amount of the original loan. The terms in AS 27.09.040 apply to mining debts refinanced under this section.