A first-of-its-kind survey of legal department diversity found that the departments are making more headway than law firms but still have substantial room for improvement.