Make matcher and PrimCellTransform more robust against failure to find niggli
lattice.