Maine legalized assisted suicide on Wednesday, becoming the eighth state to allow terminally ill people to end their lives.