Mentally ill man committed for 33 years to life for killing Berkeley man