Codegen for let expressions