US general says 3-year minimum needed for anti-ISIL fight