Fix in KBP vs K draw code (+ reformat some code). Add unit tests for
this endgame.