Federal government’s error in legislation allows refugees new avenue for appeal