A court rejected Trump's bid to reset the six-month migrant detention clock, ruling ICE violated an Iranian's due process rights.