[Truffle] Tidy up the constant nodes.