A historic bill to legalise assisted dying will set out hardline safeguards, including lengthy prison sentences for coercion and powers for judges to cross-examine patients.