A US border patrol commander who became the face of Donald Trump’s immigration crackdown in Minneapolis is retiring, sources say.