While layoffs in Silicon Valley and elsewhere dominate headlines, the reality is that many companies today still find themselves in a fierce war for talent. A spate of new laws and regulations — many of which are intended to make the workplace fairer for employees — may make the situation even more challenging for employers.