Yahoo is cutting 1,000 jobs and planning even bigger layoffs but says it’s ‘still hiring aggressively’