The bill's passage marked a major victory for Israel's far-right, which has pushed hard for the measure.