I'm sure when Gandhi was describing black people as lazy savages who had less right to their land than European & Indian settlers and who needed to be kept out of Indian neighborhoods at all costs, he meant it in the best way.
Your comparison makes absolutely no sense.
Yes, there is a personality cult around Allama Iqbal in Pakistan...and yes, many Pakistanis don't understand his writings very well, which is why everyone from the secularists to the Islamists try to claim that their beliefs are consistent with "Iqbal's vision of Pakistan." But unlike your beloved Gandhi, I don't see any glaringly bigoted statements (in context or out of context) in Iqbal's writings...nothing shameful that people are trying to gloss over [in fact, Iqbal's rather shady lovelife is openly discussed in Pakistan...unlike Gandhi's quirky (if not slightly perverse) sexual practices]
So what exactly are you trying to prove here?
Also, on a somewhat unrelated point, Iqbal also believed in the separateness of the Indian Muslim identity...though he considered it more of a social/cultural divide.
Whatever you have mentioned about Gandhi is from his writing only !!!!!! so where is the question of glossing over or trying to hide. The situation you have mentioned is from his early life and formative years.
As i have said it is what he did in his role as a freedom fighter and a leader that you have to judge a person. That is the reason today Gandhi is a world renowed figure and an icon for a lot of people ... including black people.