Design and evaluation of biological gate circuits and their therapeutic applications in a model of multidrug resistant cancers