Even the results-oriented Trump foreign policy needs to distinguish between friend and foe.