Iran were gifted a late 1-0 victory over Morocco in their opening World Cup match when Aziz Bouhaddouz headed into his own net five minutes into injury time.