The move could doom bipartisan efforts to ban stock trading, as Republicans may not back a measure that extends to the executive branch.