Japan’s SoftBank returns to profit on global stock boom