En lärare i Chicago-området har avgått mitt i kritik efter ett inlägg på nätet där det stod "GO ICE!"