Lie algebroids and optimal control: abnormality