Elon Musk’s social network used a technical maneuver to restore service for many Brazilians after a court blocked it. Regulators expected to restore the block soon.