Senate OKs amending state constitution to change how judges are selected