NC legislature OKs letting Duke Energy charge for new plants before they’re built