AMENDED AND RESTATED INVESTMENT AGREEMENT dated as of December 14,1999 between TPG MAGELLAN LLC and MAGELLAN HEALTH SERVICES, INC.