Fixed memory issue reported from Valgrind

It was reporting lost memory (the free(e->protected); in nenv_del())
and conditional jump on uninitialized values caused by nenv_copy()