Index arbitrage with heterogeneous investors: A smooth transition error correction analysis