The United States is moving some of its troops from a base in Niger’s capital Niamey — where rebel officers seized power in a July coup — to another in the Agadez area, the Pentagon said Thursday.