President Donald Trump on Monday showed his first signs of retreat since surging federal immigration agents in Minnesota late last year — replacing the leader of the crackdown on the ground and signaling new willingness to cooperate with the state’s Democratic elected officials.