Lending Works narrows losses in 2017