Federal workers to receive backpay following deal to temporarily reopen government