Legislation providing for mental health evaluation in divorce and custody proceedings passed unanimously