The army said a soldier had earlier shot and wounded the suspected assailant at the scene of the incident near Ramallah in the central West Bank