Metro Bank strikes deal to shore up balance sheet