In what city did the tripartite military talks occur during the month of August?