House passes pay-as-you-go bill