SCHEMA-228 FormattedKeys: allow nulls in hash calculation

Formatted Keys throw IndexOutOfBoundsException when null is present
in the components that must be hashed. Fix this so that hash(['aaa', null])
= hash(['aaa']).