US science agencies set to win big in budget deal