Officer injured during attempted arrest; police say no indication it's a terror attack; suspect had previously been sentenced to psychiatric care after stabbing a man