Foles injured in Eagles' loss to Cowboys