An improved stress recovery technique for the unfitted finite element analysis of discontinuous gradient fields