Netanyahu railed against a pact to end the war with Iran while Trump defended the diplomatic process