A law which helped to wrongly convict sub-postmasters because it assumed computers worked correctly faces the axe.