The pope congratulated Americans on the "extraordinary national anniversary" while urging "compassion" for migrants.