The House has given final approval to a broad bipartisan bill aimed at lowering the cost of housing, with lawmakers in both parties eager to show progress on affordability issues ahead of this year’s midterm elections