lib/compile: tighten expectation to null
lib/compile: tighten expectation to null

So that programming errors break early and often; "undefined" is
indicative of a programming error, where-as "null" is intentional.

tjvr/nearley,Hardmath123/nearley,tjvr/nearley,Hardmath123/nearley