US stocks mixed ahead of inflation data, midterm vote