Bug fix: ase.lattice modules entered infinite loop if miller indices were linearly dependent.
This patch also disables the miller option for hexagonal lattices, since it is utterly broken. Use the directions argument instead.
This fixed the bugs reported by Baichuan Sun: https://listserv.fysik.dtu.dk/pipermail/ase-users/2017-May/003712.html