Minkowski and KZ reduction of nearly orthogonal lattice bases