Fixing the struggling palliative care system must be an immediate priority for the government, say senior doctors, after a proposed law on assisted dying has passed to the next stage of parliament.