The House of Representatives narrowly rejected a bipartisan aviation safety bill that was spurred by the deadly midair collision near Washington, D.C. after the Pentagon abruptly withdrew its support.