In a major ruling the court granted a partial stay of nationwide injunctions issued by district judges against President Donald Trump's executive order to effectively end birthright citizenship.