Maoists lose majority after Nepal army chief sacked