The moves are part of an effort to close the department by moving its functions to other parts of the government.