A federal judge ruled that the Off Broadway play "3C," a darkly comic reimagining of the TV hit "Three's Company," did not infringe the copyright of that sitcom.