KUDU-2671 fix the check for hash dimensions uniformity

Before this patch, it was possible to create a table without ranges
using the table-wide hash schema and ranges with custom hash schemas
even if the table-wide hash schema had number of hash dimensions
different from per-range custom hash schemas.

This patch fixes the bug.  I added a corresponding test scenario,
updated existing ones, and removed a duplicate one.

This is a follow-up to 6998193e69eeda497f912d1d806470c95b591ad4.

Change-Id: I8c1282973deba57269f6e962be77e27baa39b187
Reviewed-on: http://gerrit.cloudera.org:8080/18532
Reviewed-by: Mahesh Reddy <mreddy@cloudera.com>
Tested-by: Alexey Serbin <alexey@apache.org>
Reviewed-by: Attila Bukor <abukor@apache.org>
2 files changed