ISPN-4293 PR for ISPN-4137 causes a performance drop in repl tx mode

https://issues.jboss.org/browse/ISPN-4293

Local transactions should not be added to the completed txs map.

Unrelated change: In a tx cache, only TransactionBoundaryCommands can
be forwarded to the new owners because of a topology change.