What protected Inner China from invaders that may have tried to enter China from the Northwest?