Chinese lawmakers have agreed to allow President Xi Jinping to rule indefinitely. The law removes limits to presidential terms, and was proposed by the ruling Communist Party in February.