Key lawmakers expressed guarded optimism late Monday that they would be able to avoid another government shutdown, saying they were making progress in a series of late-stage meetings meant to resolve disputes about immigration rules. The outcome remains uncertain, as negotiators must cut a deal before midnight Friday on funding for a series of federal departments.