After more than 15 hours of amendments, Democrats passed the legislation, with Vice President Kamala Harris casting the tiebreaking vote. The measure now moves to the House.