[algorithms.ei] return triangularity errors in ei_greedy()