Energy tax credits in final budget deal