In any such questions, if there's a confusion, first recognize all the possibilities of the attack of the electophile and hence draw the structure of carbocations.
In this case, both the carbocations will be primary. So the factor which decides the stability of the carbocation is hyperconjugation. Check for the number of alpha hydrogens in each case. If the positive charge is on C number 3, then there are 3 alpha Hydrogens. On the other hand if the electromeric shift is such that the positive charge is on C number 4, then there are 4 alpha Hydrogens. This implies, the latter intermediate is more stable as it will be having more number of hyperconjugative forms. So the attack of Cl- will take place at C number 4. Thus, the product formed in major amount will be 4-chloro-2-methylhexane.