Efficiency failures putting UK law firms at risk