The direction comes days after NASA shuttered two offices and eliminated jobs to comply with Trump’s executive orders.