Complex sentence: The pillar system segregated the EU, what was formally the competencies of the EEC fell within the European Community pillar.
Split into simpler sentences: The pillar system segregated the EU. What were formerly the competencies of the EEC fell within the European Community pillar.