Mauresmo scrapes through