Layoffs soared in August, hitting their highest total for the month in 15 years, while year-to-date hiring reached a historic low.