The U.S. lost 23,000 in July, the first such loss since February. Expectations had been for a gain of 80,000 jobs.