Hospital Group Agrees to $21 Billion Buyout