California lawmakers narrowly rejected a bill on Tuesday that would have allowed the terminally ill to enlist doctors to help them commit suicide.