Hamas has said it is preparing to release the last four Israeli hostage bodies included in the initial phase of the Gaza ceasefire deal.