Exhausted staff cost UK law millions