The Justice Department had demanded Ryan step down in order to resolve an investigation over the school’s diversity, equity and inclusion initiatives.