Eating with dirty hands doesn't defile a person. It never has. There is nothing in God's Law even remotely like that. However, defying God by eating what he has prohibited *does* defile a person.
If your heart is clean, the actions which stem from your heart will be clean. If your heart is defiled, your actions will be defiled as well.
Mark 7:14-23