Nepal crisis averted as Maoists remain in coalition