Republicans needed overwhelming support from their members to pass the funding measure, and they got it in the 217-213 House vote.