Europe’s energy, industrial and migration interests all converge in its southern neighbourhood, where rivals are eroding its influence. The new Pact for the Mediterranean can reverse this, but only if Brussels puts grand bargains on the table