Antibiotics can be used to contain drug-resistant bacteria by maintaining sufficiently large sensitive populations