The FDA has approved a pill to treat morning sickness 30 years after it was pulled from shelves over safety fears.