I would assume that the bioware replacement would be just that: a replacement. The effects of the previous organ would not be retained, only the effects of the new organ would apply.
This, of course, assumes that the digestive expansion is essentially a stomach replacement, and not just a modification to the entire digestive system, in which case, it could be possible to double up the effects, and reduce lifestyle costs by 20% twice (not 40% all at once, as the effects don't simply stack, but are applied subsequently) for example, lets say you're lifestyle costs are 1,000

a month. Ogre Stomach would bring that down to 800

, then Digestive Expansion would reduce that (resultant) cost by 20% down to 640

. Perhaps not as convenient as a complete 40% reduction (600

from 1,000

), but still worth the hassle.