Elon Musk bows to pressure from Brazil’s top court in a bid to reinstate X