Absolutely no law against leaving a company before the bond is up - Moreover, it is entirely honourable to pay the outstanding bond liability (even if in many cases I believe the employee is being taken for a ride)
Re tax - If they want their money, I would expect co-operation from the employer - they can take it off your gross pay for the remaining months.