Second order regularity for degenerate nonlinear elliptic equations