Venezuela's Supreme Court has banned Attorney General Luisa Ortega from leaving the country, and has frozen her assets, ahead of a pre-trial hearing scheduled for July 4.