Mexican anti-discrimination agency chief resigns after censure by president