In the 215-208 vote, four Republicans joined Democrats to pass the measure, which is largely symbolic.