Partial data inverse problems for semilinear elliptic equations with gradient nonlinearities