Three jailed till death for beheading cop, witness