NBC: Top migration adviser to depart White House after three years