Top Madagascar court rejects bid to remove president