As layoffs mount, one tech CEO figured out how to do them right