The statement marked a break with the Republican Party’s traditional stance, but advocates said they feared Trump could still take executive actions allowing discrimination under the guise of religious exemptions.