The decision reactivates the inquiry into whether Mr Trump withheld US national secrets after leaving office.