Theory of competition between breakup and coalescence of droplets in flowing polymer blends