the pin is there to stop the piston from rotating when it the handbrake is applied, htis would mean that the piston would retract in on itself rather than push itself out
if they are not lined up and the piston is as far back as possible, you can twist the grooves into position with some pliers