In a precarious economy, a fast-growing industry like legal technology is seeing two parallel trajectories: company cutbacks, and mergers and acquisitions.