Within minutes of the first 999 call, police had declared a major incident and shot dead the attacker