Employers plotting year-end layoffs might think twice—and twice more—about which employees they intend to let go.