The New South Wales government has committed to an ambitious new emissions reduction target, pledging to halve greenhouse gas pollution by 2030.