A war over online gambling is about to spill out in Congress as opponents move to restore a long-standing Internet gambling ban and block Uncle Sam from creating a sprawling new federal department to police the web.