The House passed a bill to repurpose $500 million meant for cleaning up coal country’s environmental and safety hazards.