Officer was justified in fatal shooting of knife-wielding ma