Permutations with few internal points