That is not what I heard him say. He stated that he was against illegal immigration.
Then you haven't been paying attention (that's not a slam against you - you are after all neither a resident or a citizen of the U.S.). He has said, very clearly, and repeatedly, that he wants no Muslim to come into this country, not as an immigrant and not as a visitor. He has recently tried to modify that position by saying that he wants to ban everyone from countries "that have had a problem with terrorism" (apparently to circumvent the argument that he wants to discriminate on the basis of religion). Of course, under that test, the French and a number of other countries would also not be welcome in the U.S.
I think that Trump should just pass and stop talking about the Khans. I wonder why his political advisors are not telling him to do so ?
I think they have been telling him not to from the beginning. He just can't help himself. His narcissism is such that he cannot control himself for any extended period of time.
The last few days, he has been attacking the fire marshals in the various localities in which he has been holding indoor rallies, because they are limiting the number of people allowed into his rallies to the numbers that are approved for fire safety purposes.
He has temper tantrums about every single thing that doesn't go the way he wants. It's his nature.
As of yesterday, when polls starting to come out showing that Hillary is widening her lead, he has started saying that the election system is "rigged". Roger Stone, one of his confidantes, has been following up by saying that "there will be blood in the streets" if Trump doesn't win the election. (Stone, BTW, has been one of those spreading rumors that the Khans are agents of the Muslim Brotherhood.)