TEHRAN — In a major shift, Iran announced Saturday that women would be allowed to attend big sporting events, reversing a rule that had barred them from entering stadiums to watch matches attended by men.