Senators voted mostly on party lines for Erica Schwartz, but Democrat Tim Kaine also backed her, citing her qualifications for the job.