Hamas has handed over the bodies of eight people, but says it is struggling to find the remains of others after two years of war.