Reputation aside, Facebook’s bungled IPO turned out to be a very good trade for its investment bankers.