The investigations are the latest moves by the Trump administration to force prisons to house transgender women with male inmates.