feat and refactor(replica.go)

1, Change the type of sccResult from list to slice.
2, Sort the instances in the scc in the order according
   to their rowIds and ids.
3, Batch the commands of the instances in scc together.
4, TODO: We still need to set the instance to be `executed` ATOMICALLY.