Divided court examines if religious schools exempt from discrimination laws