Homoclinic snaking near the surface instability of a polarisable fluid