Former New York mayor now running for US president says that although 2015 pact was 'not perfect,' the US was obligated to keep its word once it had signed