Illinois officer justified in shooting of knife-wielding man