China warns countries not to allow North Korea situation to go down 'irretrievable' path