BERN, Switzerland — Banking giant UBS is buying its smaller rival Credit Suisse in an effort to avoid further market-shaking turmoil in global banking, Swiss President Alain Berset announced on Sunday night. Swiss president Alain Berset, who did not specify a value of the deal, called the announcement “one of great breadth for the stability of international finance.