Optimize check detection for Pawn/Knight on makeMove.