US president says he expects conflict to last around a month, as his secretary of war insisted it would not become an ‘endless war like Iraq’