Fix binary search tool SaveState to correctly save bisecting logic

Previously SaveState wasn't saving the full program state. Now resuming
can continue at the latest possible iteration.

TEST=Unit tests run, tested with package bisector

Change-Id: Id8542a61d16b4c3e18d696d0b601fbd0dd98d048
Reviewed-on: https://chrome-internal-review.googlesource.com/265096
Commit-Ready: Cassidy Burden <cburden@google.com>
Tested-by: Cassidy Burden <cburden@google.com>
Reviewed-by: Caroline Tice <cmtice@google.com>
Reviewed-by: Han Shen <shenhan@google.com>
1 file changed