Walmart sells 80% of its Brazilian operation to Advent Intl, will record $4.5B loss as a result