Analysts ran the numbers and found a surprising change in how investors are reacting to layoff announcements.