It said that transgender women would no longer be shielded from pat-down searches by male guards and that they would no longer be permitted to buy bras and other women’s clothing at the commissary.