Many families would have been better off repaying debts than investing in Child Trust Funds, the Liberal Democrats have claimed.