Clean energy giant Avangrid cleared the final regulatory hurdle needed to complete a 145-mile line bringing hydroelectricity from Quebec to Maine.