You may be able to look into the Linq "ForEach" command, i haven't tested but it would look like
UserInfoProvider.GetUsers().WhereEquals("UserIsHidden", true).ForEach(x => x.UserEnabled = false; x.Update());
This may or may not work though, sometimes it throws a fit modifying a listing, in which case just do a small foreach.