The troops will bolster a federally funded security mission, carrying out non-arrest duties under an emergency order that local officials and civil-rights groups have challenged in court.