check for none in set_value

This fixes undo when only one number is on the board.

https://bugzilla.gnome.org/show_bug.cgi?id=731011