EU reaches budget deal for 2017