PFAS deal ends NSW community's long battle