Biden 'confident' US will avoid default as deadline looms