The boom in portfolio trading, where investors can buy or sell scores of corporate bonds with just a few clicks of a mouse, is fueling mega trades that were rare in credit markets just a few years ago.