The more I think about this the more I come around to the idea that actually, Hamilton wasn't 'robbed', or at least he wasn't robbed by Masi. The safety car is always a 'random' event that can change everything, it really hinges on whether Merc didn't pit Hamilton because they believed the race would end under the safety car. If they thought that, then the decision to stay out was obviously right, but on the radio Bono said to Lewis '....the race MAY not restart'.
Also, if we imagine the safety car coming out three laps earlier, which meant that race definitely would restart, I'm not 100% sure but I'm guessing they still wouldn't have been able to pit and keep the lead, so they probably would still have wanted to keep track position, and if they had pitted then presumably Max would have stayed out since that meant Hamilton would have had to pass Max to win and Hamilton couldn't afford a crash....
So, yeah, the safety car definitely screwed Hamilton over. But the safety car is a random event at every grand prix. Masi didn't follow the rules and that should have played into Merc's hands... but it would have screwed Max over.
If all the lapped cars had been let go and the race had finished under the safety car I don't believe the Hamilton fans would have accepted that Max had been screwed over even though he was sitting behind Hamilton with new softs on the car.