Correlation between intercalated magnetic layers and superconductivity in pressurized EuFe2(As0.81P0.19)(2)