Nearly two weeks after launching an unsanctioned strike, corrections officers agreed to accept a tentative agreement and return to work.