Life history trade-offs and the partitioning of maternal investment