Restore non-empty shared instance

Restores the TrieMap.empty() behavior from 0.2.0, plus reuses the
equivalence function.

Signed-off-by: Robert Varga <robert.varga@pantheon.sk>