SA Police Minister Dan Cregan has announced his resignation from cabinet ahead of his retirement from politics at the next election.