First state's attorney sues Illinois over state's gun and magazine ban