NYPD ’failed’ in fatal shooting of woman, official says