Uniform $$W^{1,p}$$ estimates for an elliptic operator with Robin boundary condition in a $$\mathcal {C}^1$$ domain