Israel passes law legalizing thousands of West Bank settlement homes