A Rhode Island federal judge on Friday issued a temporary restraining order barring the Trump administration from freezing spending on federal grant and aid programs, calling the move illegal and saying the issue was not mooted by a White House memo claiming the directive had been rescinded.