It's up to you if you really want to leave. There are cases when employers are willing to give release to an employee who has not completed 1 year with them. Others would simply cancel employee's Visa. In your case, seems that your employer is willing to give you release, but you have to pay back the money they spent in hiring you.

**************************
Everything happens for a
reason.