The layoff process used to be abrupt: a worker learns their job has been cut and they leave the same day (sometimes with a security escort). Now, some companies are alerting employees that their roles will be eliminated months in advance, The Wall Stre…