Top EU court rules hijab can be banned at work