The move has rankled Trump and Senate Republicans, who have repeatedly lashed out at Pelosi.