Ex-church official who shielded molesters gets bail, prosecutor vows retrial