Fix MorphR for TotalOrder protocol

* the switch command was not ordered with the prepare, leading
to inconsistencies

* when the ReconfigurationReplicationManager rejects a command, the
transaction table was not cleaned