His daughter's comments not only roiled a White House that has been fighting a court battle to enact his executive order, the blocking of which Mr. Trump has viewed as an unacceptable defeat, but were also another reminder to her West Wing rivals that Ms. Trump is going to be treated as a policy adviser in her official government capacity.