Rory McIlroy’s cap blew off – twice – but in conditions resembling US Open carnage he was one of the few to keep his head.