The electric field due to an infinite plane sheet of charge is given by:
\[
E = \frac{\sigma}{2 \epsilon_0}
\]
The electric field is uniform, and there is no variation in the field across the dipole, meaning the torque on the dipole is zero.
Also, the dipole is in the minimum potential energy configuration when aligned with the electric field, and the net force on the dipole due to the uniform electric field is zero.
Therefore, the potential energy of the dipole is minimum, and the torque is zero.