Hamas has handed the last four Israeli hostage bodies that were included in the first phase of the ceasefire deal to the Red Cross.