Corrected two memory leaks in lexer.c

Shadowing of identifiers with the same lexid is causing one of the
problems -- left until later to be handled, as the lexids in question
are type annotations. Commented out for now.