Government resigns, prime minister reappointed in Mali