House Democratic leadership has pulled a controversial immigration bill that would have scrapped per-country green card caps amid opposition from Democrats and Republicans.