An American midwifery student living in Scotland was temporarily removed from her training with the National Health Service over comments she made on a Facebook forum objecting to abortion.