A federal judge has blocked President Donald Trump's new attempt at limiting birthright citizenship, saying it "is almost certainly unconstitutional."