The countryâs ouster from a regional trade bloc reveals Latin Americaâs shifting balance of power.