US layoffs for October surge to two-decade high