Jacobi-like nonnegative joint diagonalization by congruence