a couple efficiency tweaks

there were 2 places where more ASTs can be compressed
clean up some unnecessary objects in LambdaStaticData.tfunc