A North Carolina judge has signed off on a previously announced agreement between state environmental regulators and Alpharetta-based Colonial Pipeline for a 2020 gasoline spill in a nature reserve that turned out to be larger than the company initially described.