Board.isValidRookMove() refactored