HEBRON, West Bank — Israeli troops mistakenly shot and killed a 65-year-old Palestinian man in his bed during a pre-dawn raid Friday to arrest a Hamas militant in the West Bank, Palestinian and Israeli officials said. Late Friday, the Israeli military said a soldier was killed and four others wounded by friendly fire after a gunbattle broke out with Palestinian militants along the border with Gaza. Palestinian security and rescue officials in the West Bank city of Hebron said Israeli troops shot and killed 65-year-old Omar Kawasmeh, who lived in the same building but on a different floor as the Hamas militant targeted in the early morning raid. Associated Press Television footage showed a bloodstained bed and shell casings in Kawasmeh’s bedroom. The Israeli military said in a statement that it “regrets the outcome of the incident” and was investigating. Soldiers still arrested the wanted militant, Wael Mahmoud Said Bitar, during the raid.