If the ball is at 3 squares from the hole and the dices get's a 4, I'd allow to end the game. It's more fun to navigate the obstacles than to try to get the exact number to finish.
Ah, that explains why I thought I was getting very lucky to be able to get a hole in 3, and shortly afterwards, even a hole in 2.
Is it possible to get a hole in 1, or are levels constructed so as to prevent that?