Chicago man pleads guilty to terrorism charge