Stocks pushed higher on Friday after the US Supreme Court overturned most of President Donald Trump's tariffs, which could boost company earnings around the globe.