ISPN-3982 TransactionTable leaks memory when JTS is activated

* Some implementation has an unstable hash code. Use instead the identityHashCode()
Revert "Revert rebalancing per cache"

This reverts commit 8cbba22ae625c7dd3e8f5ff389b71f4b49aec2b4.