(maint) Make [] operator flatten keys for all LHS types except hash.

It is expected in the Puppet Language that it is possible to write:

$x = ['a', 'b']
SomeType[$x]