This is why I come here for ideas. But I did think of one. This circuit that I just thought of. Thermistor is attached to the battery to detect heat and when the battery is hot enough then transistor turns off which makes input to IC2 low so battery won't charge. When IC1 is on then IC2 goes on and provides constant current via R1.You can charge NiMH at 4C if you know what you're doing.
I may have R2 and the thermistor switched up and maybe my input voltage is too low but am I sortof in the right direction? (I still think its a bit ridiculous to strap a thermistor to a battery while charging but if it has to be done then so be it.)