An implicit gradient type of static failure criterion for mixed-mode loading