Make isMoveValid public

Should be usable to the client since it is a precondition for
make to work.
Move the invariant next to Board's payload