House Republicans race toward debt ceiling vote after 11th-hour rewrite