The collapse of Io's primary atmosphere in Jupiter eclipse