Madagascar fired Andry Rajoelina on Tuesday after he said he would establish an interim government if the island’s president did not step down.