Remove some cruft from the AST.

Now that the old column flattening phases are gone, RefNode serves no
useful purpose, and DefNode was overused, too.