Charter school bill clears legislative hurdle