Court sides with tribe on casino revenue-sharing dispute