Viability-Preserving Passive Torque Control