Passed Tuesday, law enables greater number of close-knit towns to operate panels that rate applicants on 'sociocultural' compatibility; NGO argues law encourages discrimination