The state Supreme Judiciary Court ruled against online brokerage Robinhood in its fight to block a Massachusetts fiduciary rule that says that broker-dealers have a fiduciary obligation to provide investment advice without regard to the interests of anyone but their customers.