A surge in layoffs was the latest in a string of signs that the labor market is weakening. Investors awaited a key employment report due out Friday.