Judge bars Trump from holding executive office at a NY company and getting loans from NY banks for three years