One key challenge for general counsel trying to rein in outside counsel costs is discerning which law firm relationships legal departments should prize and which have become a liability.