James O'Connor has paid the price for the Wallabies' loss against Argentina with Bernard Foley recalled.