A bill to legalise assisted dying for terminally ill people in England and Wales is set to fail on Friday after running out of time to become law.