Magmatic filtering of mantle compositions at mid-ocean-ridge volcanoes