Optimal Control Theory to Mitigate the Effects of Resistance to Disinfectants