Programmatic sales of XRP made by the company were not illegal, says the court. But Ripple isn't off the hook just yet.