Global compares false if equality test raises AttributeError

In the Arg equality test, a Global might be compared with a Dat, in
which case Global.__eq__ is called and raises AttributeError. We want
to interpret this as meaning not equal.