Mid-tier firms have outpaced most larger firms in increasing their staff costs per lawyer, auditor analysis has found.