Chamber advances bill for first time as four Republicans join all but one of Senate’s Democrats in favor