Senate advances nearly $1 trillion infrastructure plan