Remove duplicate non-terminals in `define-extended-language`

Fixes a problem with `define-union-language`