In this latter scenario you describe, I too would be giving an IFK. As you say, the Law was introduced exactly to avoid situations like this. However, this just reinforces the point that it should not be an IFK where the GK miskicks the ball and it happens to touch his hand (without him ever having control of the ball with his hands). This is far removed from the intent of the law and would be seen as extremely unjust by all concerned. I do understand the technicality of the point you raise but feel we can legitimately apply common sense here.