Strip backslash from escaped / when lexing regular expressions.
Fix bug where some environment records were not marked by GC.

Environments when calling a function were saved in a local variable.
Therefore the garbage collector did not see them in its list of roots
to follow, resulting in environments being freed while still in use.