Trump should not have pardoned the former Arizona sheriff, the Republican speaker of the House of Representatives, Paul Ryan, said.