Hamas 'to attend' Cairo truce talks