At least a dozen people died as gang members attacked the main prison in Haiti's capital, triggering a breakout by several thousand inmates.