A man who was attacked on a New York City subway and fatally stabbed one of his assailants will not be criminally charged.