Panera Bread is closing all its remaining fresh dough facilities and ending scratch baking nationwide within two years.