Operations that preserve integrability, and truncated Riesz spaces