Midsize law firms are seeing faster demand growth than big firms. But this segment of the market is still vulnerable to large, existential threats.