The deployment also follows a monthslong debate about the role of the National Guard in American cities.