As TCS announces layoffs affecting 12,200 employees, job loss insurance is in sharp focus again. Here's what to do if you lose your job overnight.