The Winklevoss brothers, Harvard contemporaries of Facebook founder Mark Zuckerberg, have ended their legal battle with the social network.