Macromolecular compaction by mixed solutions: Bridging versus depletion attraction