Trajectories of ions specularly reflected from non-planar collisionless shocks