The order, which President Trump may sign on Thursday, will lay the groundwork for eventually shuttering the agency, reassigning some of its primary duties.