U.S. President Donald Trump on Thursday said a legal solution was needed to address the hundreds of thousands of so-called Dreamer immigrants after the nation's top court blocked his earlier effort to end their protections, but gave no other details on how he planned to proceed.