HSBC to pay $765m to settle RMBS claims in US