rules: fix checkmate evaluation when not in mate.

Fixes #16