Iran restores communications after wartime blackout, minister apologizes