Thanks for the clarification. Given that you don't intend retiring for another 9 or 10 years, because of tax concessions there could be advantages in investing your repaid loan in a pension scheme, as compared with investing in the equity market. But of course any investment involving the ewquity market might suffer if equities perform as feebly over the next 10 years as in recent years.
Also, please note that there are certain restrictions on paying into a personal pension if you are also in an occupational pension scheme. By the way, a useful simple guide to pensions is at
http://www.is4profit.com/is4money/pensions/index.htm