Malawi president dissolves Cabinet ahead of polls