Matthew replaces Pettersen on Europe Solheim Cup team