Analytical modeling of the self-collapse and sliding failure of nanotubes in a bundle: implications for a flaw tolerant design of the space elevator cable