Changed searchAllyVisibleSquares back to the old behavior where all positions are searched through, but only those visible to an ally are taken into account for scoring.

Only the neighbors of survivable positions now get searched, once more. This was accidentally removed when searchVisibleSquares and searchAllyVisibleSquares were separated.