Fix letrec crash when substituting a variable bound to an unbound variable

Signed-off-by: Ricky Elrod <ricky@elrod.me>