Quasi-Newton methods for constrained nonlinear systems: complexity analysis and applications