Secure Trust Bank sells motor finance arm after £21m hit