Senate passes bill to prevent US default