Immigration, health care and a New York-New Jersey tunnel stand as obstacles to completing the bill before Friday’s midnight deadline.