Hamas said it is returning the remains of Israeli soldier Hadar Goldin after holding his body for over 4,000 days since the 2014 Gaza war.