Court decision puts spotlight on length of notice for layoffs