Fixing arrays hashing.

To avoid having the same hashes for variables like a[10] and a1[0]
array boundary hash moved above index hashing.

This is fixing issue noticed by @jimis in #2033.