The attacker was eliminated after a 40-minute standoff with police negotiators, leaving at least 14 others injured.