Merge pull request #2033 from pasinskim/redmine_6674

Redmine#6674 Modifying hashing function for multi-indexed arrays
Fixing arrays hashing.

To avoid having the same hashes for variables like a[10] and a1[0]
array boundary hash moved above index hashing.