Obama 'confident' of keeping to Afghan pullout plan