Flattening Supply Chains: When do Technology Improvements lead to Disintermediation?