A federal judge has ordered the Illinois Department of Corrections to make changes to its procedures for transgender prisoners.