Democrats united behind the plan and advanced it over unanimous Republican opposition, signaling that they had finally coalesced behind a bill that could become law within days.