Seven passengers were treated for smoke inhalation
That sounds like a significant amount of smoke had already entered the cabin (through the open cargo door). And with no easy way to verify that the fire hadn't spread to the airplane yet... Evacuation makes sense.