fixed bug in lav_model_gradient that (only) affects modindices if estimator is from the WLS family