The doorstep lender's board said it had accepted the cash offer following a series of approaches beginning more than a year ago.