Ukraine parliament ratifies landmark EU pact