The two sides reached the deal January 4 , after a three-day suspension of Russian gas deliveries to Ukraine .