The projections suggest a surprise outcome, after months of political deadlock.