Fix potential reference leak in let-local-refs*

Code like

  (let-local-refs* ((foo (Integer-new 1))
                    (foo (Integer-new 2)))
    (print foo))

would have leaked the local reference returned by (Integer-new 1)
without this patch.