changed avx dpotrf: use 1 in fact if singular