Purplebricks has put aside up to £9m to prevent buy-to-let investors which used its services from being exposed to legal action.