Iran is keen to present a unified front for the late supreme leader’s funeral, even as analysts warn support for the clerical leadership is waning, writes James C. Reynolds