The Texas Senate voted on Thursday to send legislation creating a statewide private school voucher program to Gov. Greg Abbott’s desk to be signed into law, all but concluding an ugly intraparty battle that has dominated state politics for much of the last two years.