the concept, also known as partial insanity, permits the trier of fact to regard the impaired mental state of the defendant in mitigation of the punishment or degree of the offense even though the impairment does not qualify as insanity under the prevailing test