Fix mistake in checkmate code where knight threatens king
If the only way out of checkmate is capturing the knight,
The code now correctly sees this possibility instead of ignoring it.