The U.S. House moved urgently to head off the looming nationwide rail strike on Wednesday. The measure now heads to the Senate.