Quoting Scripture and the Declaration of Independence, a federal judge the condemned harsh immigration policies that detained the 5-year-old.