Close Brothers has revealed it swung to a loss after setting aside £165 million in provisions for the motor finance commission scandal.