Renormalization group flow of entanglement entropy to thermal entropy