Some tech companies are giving more generous severance packages, but here’s what to keep in mind.