The vote clears the way for negotiations with the House, which passed a broadly similar bill last month, bringing Democrats a step closer to a goal they have pursued for decades.