Royal Mail has been given until 6 September to solve its long running pension dispute with workers, or it will face industrial action.