Adds checks for same-subsquare repetitions.