General Milley feared Trump would attempt a military coup