A Detroit man was released from immigration detention Wednesday, a few days after a Michigan federal judge ordered the government to release him or give him a bond hearing because his two-month detention without review was a violation of his due process rights.