A woman has been jailed for taking abortion pills after the UK legal time limit