One order says the government will recognize only two sexes, including on documents such as passports and visas.