Fuzzer fixes

Tests and fixes for bugs uncovered by super-simple fuzzing of the parser, lexer, and echo compiler.