SPARK-3329:  [SQL] Don't depend on Hive SET pair ordering.

This fixes some possible spurious test failures in `HiveQuerySuite` by comparing sets of key-value pairs as sets, rather than as lists.