NBC: House narrowly passes six-month funding bill as shutdown deadline nears