Lawmakers tried unsuccessfully to keep alive a program that sent 9,700 students to private schools this year with taxpayer support