An Egyptian military court sentenced a Libyan defendant to death over his involvement in the 2017 terrorist operation that killed 16 policemen.