Court allows plan amendment made before group layoffs