Federal appeals court reverses injunction on Illinois’ gun and magazine ban