TCO does not close over arguments to higher order functions

@garyb Can you please review? This addresses #428.