Law firms may hate to see successful partners exit, but they can stand to gain significantly when their lawyers head in-house to clients.