Malawi re-runs election in test case for African democracy