Messaging company Slack Technologies scored a unanimous victory in the U.S. Supreme Court on Thursday, which held that an investor suing over a company stock offering must show he held "registered" securities in the company.