Judge blocks first state law that would have banned prediction markets