Mentally ill will be allowed to sit as MPs