RCD for three-phase connection