Fix definition of union/intersection in pytd grammar.