Senate lawmakers are expected to vote after taking the first step toward agreeing on a deal that would fully reopen the government.