The takeover — which came after three weeks of anti-government protests by mainly young people — led to Madagascar being suspended from the African Union.