While alternative legal service providers have disrupted the legal market, law firms are proving more resilient to larger changes—and adept at retaining their clients.