UN General Assembly ratifies migrant pact