[Truffle] Fix de-duplication in small hash literals.