hcl: When rendering diagnostics, elide complex index keys
hcl: When rendering diagnostics, elide complex index keys

In practice this should never arise because the index operator only works
for lists and maps and they use string keys, but we'll guard against this
anyway and return a placeholder for other values so that the output
doesn't grow unreadably long in that case.

hashicorp/hcl,strivecast/hcl,hashicorp/hcl,strivecast/hcl,strivecast/hcl,hashicorp/hcl,hashicorp/hcl,strivecast/hcl,strivecast/hcl,hashicorp/hcl