Law firms are navigating a talent tug-of-war.