EU agrees aid for Ukraine as Hungary falls in line