Parliament, rights groups slam EU headscarf ruling