Grad student resigns, apologizes for claiming to be person of color