Regulating Insider Trading When Investment Matters