diminished capacity law