Executed Gaza 'collaborators' were in custody before war