Bulgarian government resigns, battered and unloved