Brazil has been hedging its international trade relations with careful maneuvering, and in the long run, this may be the smart move.