Iranian chess player was warned not to return to Iran after competing without hijab