Fix endgame value of king