Khamenei ally says Iran should leave NPT