Raoul Thomas’ troubled CGI Merchant Group sold 65 distressed commercial units in a Coral Gables mixed-use building for $28.5 million, staving off a pending foreclosure, The Real Deal has learned.