Right, this.
Range determines who can shoot--not who can be removed as a casualty. If five marines fire at a squad of five gaunts, they can potentially kill all five gaunts--even all but one gaunt is out of range of all of the marines. The rulebook is pretty clear on that.