Woman who aborted baby at 40 weeks has jail term reduced