Iran says Palestinian resistance has right to arms