A dearth of capital markets and M&A work, stringent investment processes and big valuation gaps relentlessly tested law firms' corporate strategies throughout 2023.