US avoids debt default as borrowing bill passes