Hazlewood stars in NSW Shield win over SA