Detained asylum seekers who have shown they have a credible fear of returning to their country will no longer be able to ask a judge to grant them bond.