Rory McIlroy has moved into contention at the Valero Texas Open after an excellent second round of 67 in San Antonio.