Relativistic multireference many-body perturbation theory calculations on ions of the phosphorus isoelectronic sequence