Another interpretation: the verse comes to teach you proper conduct from the Torah, "only he shall pay for his loss of time and shall surely heal him" (Exodus 21:19).
Worldly Wisdom Drawn From the Law of Healing
Yalkut Shimoni on Torah 331:8
דָּבָר אַחֵר, בָּא הַכָּתוּב לְלַמֶּדְךָ דֶּרֶךְ אֶרֶץ מִן הַתּוֹרָה, רַק שִׁבְתּוֹ יִתֵּן וְרַפֹּא יְרַפֵּא.