Madagascar's justice minister resigns after corruption scandal