In his New Year's Eve address, Ukraine's president said his country wanted an end to the war but not at ‘any cost’