A man was shot dead by armed police after concerns were raised for the safety of a 39-year-old with a knife