WASHINGTON — As a result of soft sales and traffic levels and a deteriorating outlook among restaurant operators, the National Restaurant Association’s comprehensive index of restaurant activity remained essentially flat in July.