Iran says it has right to retaliate for assassination of Haniyeh