Senate advances school funding bill