Trial set for 2 men accused of fatally shooting officer