Palestinian man killed during arrest after he attacked soldier, IDF says