Nine people have been ordered to serve life sentences by a court in Kurukshetra, which found them guilty of killing three shepherds in 2018.