FAB-14950 Fix Raft UT flake
FAB-14950 Fix Raft UT flake

Leader change in Raft can be either X -> 0 -> Y or X -> Y depending on
specific cases. We should assert the final state to avoid flakiness,
unless we are certain about the transition AND both fields in raft
soft state: Lead and StateType.

Change-Id: Id5aae1c77fc2ea10dc2cdc93b6ac6d5b31fc8b7f
Signed-off-by: Jay Guo <91d7eeb83d08be0dc56ea674009c4b53383e15b3@gmail.com>

manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,stemlending/fabric,binhn/fabric,manish-sethi/fabric-sidedb,hyperledger/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,jimthematrix/fabric,stemlending/fabric,binhn/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,manish-sethi/fabric,stemlending/fabric,hyperledger/fabric,muralisrini/fabric,manish-sethi/fabric-sidedb,jimthematrix/fabric,binhn/fabric,muralisrini/fabric,manish-sethi/fabric,muralisrini/fabric