Johns Hopkins University said it is laying off more than 2,000 workers across the globe after the Trump administration cut $800 million in federal grants.