Pepco said it had restored service to about all but 7,600 affected customers, with most of the remaining outages concentrated in Prince George’s County and the District.