Complaint against judge for supporting marriage dismissed