A federal judge ruled that the content-delivery service doesn’t “contribute” to copyright infringement.