Invariant set theory for predicting failure of antibiotic cycling