Prevent castling into check