Groups that include pro-Israel organizations obscured their spending in some midterm races to try to defeat candidates that oppose their cause.