Burma kicked out lots of foreigners at a time. Half of Rangoon's population used to be Indian, they were kicked out. India took them in.
Nobody took in the Rohingyas. Thats the difference.
Also, to say UN has been ignoring Burma's human rights record is a self serving joke. Even US had slapped serious sanctions against Burma and only now they are trying to bring them out of isolation so that they can be pursuaded to open up. If there is one country that has ignored Burma's human rights record the most then its China. But I guess thats inconvenient for the victimhood riddled anti US mindset.