Beijing is recalculating its policy of making inroads in Washington’s backyard after its top ally there was deposed.