Mali’s military government on Friday passed a new electoral law, marking a step towards a return to constitutional rule amid regional pressure to hold elections since the junta first seized.