During New Year message, Putin hailed Russian soldiers as “heroes” and sought to project determination after nearly four years of fighting.