Colleague calls Petraeus' resignation 'the honorable thing to do'