Petraeus offers mixed Iraq assessment ahead of key hearings