Stock market today: Indexes end mixed as weak job openings fuel jitters ahead of August payroll report