Diagnose the gap before you hand over a title or equity, then decide which kind of partner your business needs. Avoid the costly mistake.