The first Republican primary debate included exchanges with Haley and Burgum that highlight the perils of paying China for “green energy.”