If one of the natural stats is extremely lower, you would prefer higher IV on that stat, for example, you will definitely prefer a 15Def 0HP Chansey than 0Def 15HP Chansey. Or you will prefer a 0Def 15HP Cloyster than 15Def 0HP Cloyster.
In the case their natural stat for Def and HP are similar, in this game, I would prefer HP. Since HP can be turned into energy, and you will have 2X HP when defending.
To your specific Chamander case, I would prefer the one with more HP, but the difference in real world is negligible.