“Grey’s Anatomy” and “Scandal” depicted abortion in ways most TV shows hadn’t before. Now, the showrunner is reflecting on how she got each storyline made.