Last year, layoffs at firms like Cooley and Goodwin Procter put roughly equal numbers of attorneys and business professionals out of work as the firms blamed the cutbacks on excess capacity amid falling demand in transactional practices.