Australia will no longer jail asylum applicants who are not deemed security risks.