Such part only of the value transferred shall be attributed to gifts of residue or shares in residue as is not attributed under section 38 above to specific gifts.