Wyndham Clark holds a commanding four-shot lead at the halfway stage of the US Open, as Rory McIlroy lost ground after a rollercoaster second round at Shinnecock Hills.