Illinois bans semiautomatic weapons, critics vow court challenge