Allowed to leave voluntarily without a deportation order, his brief detention has intensified debate over Trump’s hardline immigration measures