ISPN-4574 Fix StateTransferSuppressIT failure

Change RpcManagerImpl.getCommittedViewAsString and getPendingViewAsString
to return only the list of members.
Test that replaying a prepare command doesn't acquire the lock twice