One of the most lucrative money-making machines in the world of finance is all clogged up, threatening a year of pain for Wall Street banks and private-equity barons as a decade-long deal boom goes bust.