The U.N. ambassador said attacks on Iranian facilities can be lawful if tied to military use, pushing back on legal criticism.