A study released Monday shows pregnancy affects not only a woman’s body: It changes parts of her brain structure too with alterations that help prepare for motherhood.