The Senate voted resoundingly to approve a measure to temporarily withhold pay from senators during future government shutdowns.