The federal government has erased gender identity questions from federal surveys. Researchers say it will cost them at least a decade’s worth of data.