MUSE Analysis of Gas around Galaxies (MAGG) – II: metal-enriched halo gas around z ∼ 1 galaxies