The environmental agency will be repaying the loan to the Welsh Government for the next decade