The president’s relationship with his director of national intelligence has become more tense as he considers striking Iran.