The president plans to sign an executive order directing officials to take all “necessary steps” to shut down the department, but a complete closure would require an act of Congress.