Quebec election averted after budget passes