Detect power outage and disconnect heavy loads from the UPS
The ideal solution would be to delink those loads from the inverter circuit. Should that be a problem, a contactor or relay, energised by the utility supply, could be used to delink them when the utility supply fails.

In any case, it would not be possible to avoid rewiring.