Make sure types.astNodesAreEquivalent ignores .loc and .range information.