The UK is using money from a charitable fund established nearly 100 years ago to take a small bite out of the national debt.