Fix bug in LambdaLift.

The body of inner functions was not being rewritten
after the free variables had been calculated.