WASHINGTON—Senators worked Tuesday to salvage a bipartisan plan to protect “Dreamers”—young undocumented immigrants brought to the U.S. by their parents—as the divide grew over an immigration deal seen as key to avoiding a government shutdown this weekend.

The White House complicated the negotiations by insisting that Congress allocate billions more for President Donald Trump’s promised border wall with Mexico.

Without...