Barbara Corcoran says one of her best business decisions came about because of a breakup