Agreement envisages vote on West Bank annexation in July, gives right-wing a majority on panel that chooses judges, provides for new elections if High Court bars Netanyahu as PM