Tech firms’ layoffs decline in 2024