Rory McIlroy bounced back from a poor start to his second round to maintain a narrow lead at the halfway point of the Honda Classic.