StringImm is not hashable

Refer to this PR.