Women's rights campaigners argued the advice put female officers under pressure to search detainees who are biological men but identify as women.