An Egyptian court sentenced six militants to death for a 2016 attack on a security checkpoint that killed a policeman, the Associated Press reports.