The White House argued in a court filing it pulled the funds because the money was potentially facilitating gang activity in migrant shelters.