The stock market closed mixed Tuesday as it continued its quest for direction. The Nasdaq fell slightly more than 0.2%. Some chip and Internet stocks performed poorly, weighing down the composite. The Nasdaq seems to have developed an allergy to 5000. This week marked the third time in less than two months that the index got turned away trying to conquer that milestone.