A ban on asylum seekers using taxis for most medical journeys has been announced by Home Secretary Shabana Mahmood.