Congressional leaders agree on farm bill, but veto possible