House Republicans fall in line, narrowly pass Trump-backed funding bill