Physics of gas breakdown for ion beam transport in gas