The pizza chain has nearly 20,000 locations worldwide and reported declining same-store sales for several quarters.