The breakaway republic of Nagorno-Karabakh has proclaimed its own demise after being recaptured by Azerbaijan in an offensive that has prompted more than half the population to flee.