What pact was formed by Cuba