Remove die!, raplace invocations with fail! Issue #4524 pt 3
auto merge of #4905 : brson/rust/issue4524, r=brson

Rebase of #4895