Mexican President Enrique Pena Nieto said the attorney general's office is probing an incident involving the armed forces that killed 22 people in June after reports that nearly all the dead were executed by soldiers.