Stability analysis of a dynamical model of tuberculosis with incomplete treatment