Barclays strikes $800mn deal in bet on US consumer loans