Police fatally shot knife-wielding man in Fairmont