A federal judge agreed with Universal Music Group that the hip-hop act never owned the copyrights to its earliest work.