Modeling the effect of transient violations of the second law of thermodynamics on heat transfer in silicon nanowire